<h1>Tracks List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Band</th>
      <th>Discography</th>
      <th>Name</th>
      <th>Track</th>
      <th>Length</th>
      <th>Lyrics</th>
      <th>Created aid</th>
      <th>Updated aid</th>
      <th>Created at</th>
      <th>Updated at</th>
      <th>Sort</th>
      <th>Is active</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($tracks as $track): ?>
    <tr>
      <td><a href="<?php echo url_for('track/edit?id='.$track->getId()) ?>"><?php echo $track->getId() ?></a></td>
      <td><?php echo $track->getBandId() ?></td>
      <td><?php echo $track->getDiscographyId() ?></td>
      <td><?php echo $track->getName() ?></td>
      <td><?php echo $track->getTrackId() ?></td>
      <td><?php echo $track->getLength() ?></td>
      <td><?php echo $track->getLyrics() ?></td>
      <td><?php echo $track->getCreatedAid() ?></td>
      <td><?php echo $track->getUpdatedAid() ?></td>
      <td><?php echo $track->getCreatedAt() ?></td>
      <td><?php echo $track->getUpdatedAt() ?></td>
      <td><?php echo $track->getSort() ?></td>
      <td><?php echo $track->getIsActive() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('track/new') ?>">New</a>
